<cfcomponent output="false">
	<cffunction name="setDefaultData" access="public">
		<cfargument name="structRequest" type="Struct" required="true">
		<!--- <cfdump var="#arguments#"><cfabort> --->
		<cftry>
				<!---
				validate module data 
				
				name="module" type="string"
				name="action" type="string"
				name="data" type="Any"
				name="username" type="string"
				name="password" type="string"
				name="typeData" type="string"
				name="returnType" type="string"
				--->
				
				<cfif trim(arguments.structRequest.username) eq ''>
					<cfthrow 
						errorcode="MANAGERBUSINESS_SETDEFAULTDATA_USERNAME" 
						message="MANAGERBUSINESS_SETDEFAULTDATA_USERNAME" 
						type="Application" 
						extendedinfo="MANAGERBUSINESS_SETDEFAULTDATA_USERNAME"
						detail="MANAGERBUSINESS_SETDEFAULTDATA_USERNAME">
				</cfif>
				
				<cfif trim(arguments.structRequest.password) eq ''>
					<cfthrow 
						errorcode="MANAGERBUSINESS_SETDEFAULTDATA_PASSWORD" 
						message="MANAGERBUSINESS_SETDEFAULTDATA_PASSWORD" 
						type="Application" 
						extendedinfo="MANAGERBUSINESS_SETDEFAULTDATA_PASSWORD"
						detail="MANAGERBUSINESS_SETDEFAULTDATA_PASSWORD">
				</cfif>
				
				<cfif trim(arguments.structRequest.data) eq ''>
					<cfthrow 
						errorcode="MANAGERBUSINESS_SETDEFAULTDATA_DATA" 
						message="MANAGERBUSINESS_SETDEFAULTDATA_DATA" 
						type="Application" 
						extendedinfo="MANAGERBUSINESS_SETDEFAULTDATA_DATA"
						detail="MANAGERBUSINESS_SETDEFAULTDATA_DATA">
				</cfif>
				
				
				
				
				<cfif trim(arguments.structRequest.module) eq ''>
					<cfset arguments.structRequest.module = 'User'>
				</cfif>
				
				<cfif trim(arguments.structRequest.action) eq ''>
					<cfset arguments.structRequest.action = 'login'>
				</cfif>
				
				<cfif trim(arguments.structRequest.inputData) eq ''>
					<cfset arguments.structRequest.inputData = 'xml'>
				</cfif>
				
				<cfif trim(arguments.structRequest.outputData) eq ''>
					<cfset arguments.structRequest.outputData = 'xml'>
				</cfif>
				
			<cfcatch type="any">
				<cfdump var="#cfcatch#"><cfabort>
				<cfthrow 
					errorcode="#cfcatch.ErrorCode#" 
					message="#cfcatch.Message#" 
					type="#cfcatch.Type#" 
					extendedinfo="#cfcatch.ExtendedInfo#"  
					detail="#cfcatch.Detail#">
			</cfcatch>
		</cftry>
		<cfreturn arguments.structRequest>
	</cffunction>

</cfcomponent>